//
//  NSString+Contains.m

//
//  Created by cong on 15/11/10.
//  Copyright (c) 2015年 AWCS. All rights reserved.
//

#import "NSString+Contains.h"

@implementation NSString (Contains)
- (BOOL)myContainsString:(NSString*)str {
    NSRange range = [self rangeOfString:str];
    return range.length != 0;
}

- (BOOL)containsString:(NSString *)str {
    return ([self rangeOfString:str].location != NSNotFound);
}


@end
